package com.webchat.chat.core.dto.evenMessage;

import com.webchat.chat.core.enums.EventType;
import com.webchat.chat.core.enums.SocketClientType;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Owner on 2018/6/27.
 */
public class EventInfo  implements Serializable {
    /**
     * 事件名
     */
    private String eventDesc;
    /**
     * 接收人
     */
    private String targetClientId;
    /**
     * 接受者用户名
     */
    private String targetUserName;
    /**
     * 接受者类型
     */
    private SocketClientType targetClientType;
    /**
     * 事件类型
     */
    private EventType type;
    /**
     * 内容
     */
    private Object content;
    /**
     * 时间
     */
    private Date time;

    public String getEventDesc() {
        return eventDesc;
    }

    public void setEventDesc(String eventDesc) {
        this.eventDesc = eventDesc;
    }

    public String getTargetClientId() {
        return targetClientId;
    }

    public void setTargetClientId(String targetClientId) {
        this.targetClientId = targetClientId;
    }

    public String getTargetUserName() {
        return targetUserName;
    }

    public void setTargetUserName(String targetUserName) {
        this.targetUserName = targetUserName;
    }

    public SocketClientType getTargetClientType() {
        return targetClientType;
    }

    public void setTargetClientType(SocketClientType targetClientType) {
        this.targetClientType = targetClientType;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public EventType getType() {
        return type;
    }

    public void setType(EventType type) {
        this.type = type;
    }
}